<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <style>
        input[placeholder]{
                width: 200px;
        }
        input[type^="pass"]{
            border: 1px  solid red;
        }
        input[type="password"]{
            border: 1px  solid blue;
        }
        input[type$="t"]{
            border: 1px solid green;
        }
        input[type*="t"]{
            height: 50px;
        }
    </style>
</head>
<body>
    <form action="">
        <input type="text" placeholder="用户名"><br>
        <input type="password" placeholder="密码"><br>
        <input type="date"><br>
        <button>注册</button>
    </form>
</body>
</html>